﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000EF5 RID: 3829
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueHandbookAeonInfo : IMessage<RogueHandbookAeonInfo>, IMessage, IEquatable<RogueHandbookAeonInfo>, IDeepCloneable<RogueHandbookAeonInfo>, IBufferMessage
	{
		// Token: 0x170030A8 RID: 12456
		// (get) Token: 0x0600ABC4 RID: 43972 RVA: 0x001D0E77 File Offset: 0x001CF077
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueHandbookAeonInfo> Parser
		{
			get
			{
				return RogueHandbookAeonInfo._parser;
			}
		}

		// Token: 0x170030A9 RID: 12457
		// (get) Token: 0x0600ABC5 RID: 43973 RVA: 0x001D0E7E File Offset: 0x001CF07E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueHandbookAeonInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170030AA RID: 12458
		// (get) Token: 0x0600ABC6 RID: 43974 RVA: 0x001D0E90 File Offset: 0x001CF090
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueHandbookAeonInfo.Descriptor;
			}
		}

		// Token: 0x0600ABC7 RID: 43975 RVA: 0x001D0E97 File Offset: 0x001CF097
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueHandbookAeonInfo()
		{
		}

		// Token: 0x0600ABC8 RID: 43976 RVA: 0x001D0EB8 File Offset: 0x001CF0B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueHandbookAeonInfo(RogueHandbookAeonInfo other) : this()
		{
			this.exp_ = other.exp_;
			this.aeonId_ = other.aeonId_;
			this.mOCKIOPKEKE_ = other.mOCKIOPKEKE_;
			this.kMMNBNNDDAI_ = other.kMMNBNNDDAI_.Clone();
			this.unlockAeonStoryList_ = other.unlockAeonStoryList_.Clone();
			this.level_ = other.level_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600ABC9 RID: 43977 RVA: 0x001D0F2E File Offset: 0x001CF12E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueHandbookAeonInfo Clone()
		{
			return new RogueHandbookAeonInfo(this);
		}

		// Token: 0x170030AB RID: 12459
		// (get) Token: 0x0600ABCA RID: 43978 RVA: 0x001D0F36 File Offset: 0x001CF136
		// (set) Token: 0x0600ABCB RID: 43979 RVA: 0x001D0F3E File Offset: 0x001CF13E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Exp
		{
			get
			{
				return this.exp_;
			}
			set
			{
				this.exp_ = value;
			}
		}

		// Token: 0x170030AC RID: 12460
		// (get) Token: 0x0600ABCC RID: 43980 RVA: 0x001D0F47 File Offset: 0x001CF147
		// (set) Token: 0x0600ABCD RID: 43981 RVA: 0x001D0F4F File Offset: 0x001CF14F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AeonId
		{
			get
			{
				return this.aeonId_;
			}
			set
			{
				this.aeonId_ = value;
			}
		}

		// Token: 0x170030AD RID: 12461
		// (get) Token: 0x0600ABCE RID: 43982 RVA: 0x001D0F58 File Offset: 0x001CF158
		// (set) Token: 0x0600ABCF RID: 43983 RVA: 0x001D0F60 File Offset: 0x001CF160
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MOCKIOPKEKE
		{
			get
			{
				return this.mOCKIOPKEKE_;
			}
			set
			{
				this.mOCKIOPKEKE_ = value;
			}
		}

		// Token: 0x170030AE RID: 12462
		// (get) Token: 0x0600ABD0 RID: 43984 RVA: 0x001D0F69 File Offset: 0x001CF169
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> KMMNBNNDDAI
		{
			get
			{
				return this.kMMNBNNDDAI_;
			}
		}

		// Token: 0x170030AF RID: 12463
		// (get) Token: 0x0600ABD1 RID: 43985 RVA: 0x001D0F71 File Offset: 0x001CF171
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> UnlockAeonStoryList
		{
			get
			{
				return this.unlockAeonStoryList_;
			}
		}

		// Token: 0x170030B0 RID: 12464
		// (get) Token: 0x0600ABD2 RID: 43986 RVA: 0x001D0F79 File Offset: 0x001CF179
		// (set) Token: 0x0600ABD3 RID: 43987 RVA: 0x001D0F81 File Offset: 0x001CF181
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Level
		{
			get
			{
				return this.level_;
			}
			set
			{
				this.level_ = value;
			}
		}

		// Token: 0x0600ABD4 RID: 43988 RVA: 0x001D0F8A File Offset: 0x001CF18A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueHandbookAeonInfo);
		}

		// Token: 0x0600ABD5 RID: 43989 RVA: 0x001D0F98 File Offset: 0x001CF198
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueHandbookAeonInfo other)
		{
			return other != null && (other == this || (this.Exp == other.Exp && this.AeonId == other.AeonId && this.MOCKIOPKEKE == other.MOCKIOPKEKE && this.kMMNBNNDDAI_.Equals(other.kMMNBNNDDAI_) && this.unlockAeonStoryList_.Equals(other.unlockAeonStoryList_) && this.Level == other.Level && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600ABD6 RID: 43990 RVA: 0x001D102C File Offset: 0x001CF22C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Exp != 0U)
			{
				num ^= this.Exp.GetHashCode();
			}
			if (this.AeonId != 0U)
			{
				num ^= this.AeonId.GetHashCode();
			}
			if (this.MOCKIOPKEKE != 0U)
			{
				num ^= this.MOCKIOPKEKE.GetHashCode();
			}
			num ^= this.kMMNBNNDDAI_.GetHashCode();
			num ^= this.unlockAeonStoryList_.GetHashCode();
			if (this.Level != 0U)
			{
				num ^= this.Level.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600ABD7 RID: 43991 RVA: 0x001D10D2 File Offset: 0x001CF2D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600ABD8 RID: 43992 RVA: 0x001D10DA File Offset: 0x001CF2DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600ABD9 RID: 43993 RVA: 0x001D10E4 File Offset: 0x001CF2E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.kMMNBNNDDAI_.WriteTo(ref output, RogueHandbookAeonInfo._repeated_kMMNBNNDDAI_codec);
			this.unlockAeonStoryList_.WriteTo(ref output, RogueHandbookAeonInfo._repeated_unlockAeonStoryList_codec);
			if (this.AeonId != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.AeonId);
			}
			if (this.Exp != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Exp);
			}
			if (this.MOCKIOPKEKE != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.MOCKIOPKEKE);
			}
			if (this.Level != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Level);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600ABDA RID: 43994 RVA: 0x001D1198 File Offset: 0x001CF398
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Exp != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Exp);
			}
			if (this.AeonId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AeonId);
			}
			if (this.MOCKIOPKEKE != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MOCKIOPKEKE);
			}
			num += this.kMMNBNNDDAI_.CalculateSize(RogueHandbookAeonInfo._repeated_kMMNBNNDDAI_codec);
			num += this.unlockAeonStoryList_.CalculateSize(RogueHandbookAeonInfo._repeated_unlockAeonStoryList_codec);
			if (this.Level != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Level);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600ABDB RID: 43995 RVA: 0x001D1244 File Offset: 0x001CF444
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueHandbookAeonInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Exp != 0U)
			{
				this.Exp = other.Exp;
			}
			if (other.AeonId != 0U)
			{
				this.AeonId = other.AeonId;
			}
			if (other.MOCKIOPKEKE != 0U)
			{
				this.MOCKIOPKEKE = other.MOCKIOPKEKE;
			}
			this.kMMNBNNDDAI_.Add(other.kMMNBNNDDAI_);
			this.unlockAeonStoryList_.Add(other.unlockAeonStoryList_);
			if (other.Level != 0U)
			{
				this.Level = other.Level;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600ABDC RID: 43996 RVA: 0x001D12DE File Offset: 0x001CF4DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600ABDD RID: 43997 RVA: 0x001D12E8 File Offset: 0x001CF4E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 26U)
				{
					if (num <= 18U)
					{
						if (num == 16U || num == 18U)
						{
							this.kMMNBNNDDAI_.AddEntriesFrom(ref input, RogueHandbookAeonInfo._repeated_kMMNBNNDDAI_codec);
							continue;
						}
					}
					else if (num == 24U || num == 26U)
					{
						this.unlockAeonStoryList_.AddEntriesFrom(ref input, RogueHandbookAeonInfo._repeated_unlockAeonStoryList_codec);
						continue;
					}
				}
				else if (num <= 88U)
				{
					if (num == 32U)
					{
						this.AeonId = input.ReadUInt32();
						continue;
					}
					if (num == 88U)
					{
						this.Exp = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 96U)
					{
						this.MOCKIOPKEKE = input.ReadUInt32();
						continue;
					}
					if (num == 112U)
					{
						this.Level = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040045C4 RID: 17860
		private static readonly MessageParser<RogueHandbookAeonInfo> _parser = new MessageParser<RogueHandbookAeonInfo>(() => new RogueHandbookAeonInfo());

		// Token: 0x040045C5 RID: 17861
		private UnknownFieldSet _unknownFields;

		// Token: 0x040045C6 RID: 17862
		public const int ExpFieldNumber = 11;

		// Token: 0x040045C7 RID: 17863
		private uint exp_;

		// Token: 0x040045C8 RID: 17864
		public const int AeonIdFieldNumber = 4;

		// Token: 0x040045C9 RID: 17865
		private uint aeonId_;

		// Token: 0x040045CA RID: 17866
		public const int MOCKIOPKEKEFieldNumber = 12;

		// Token: 0x040045CB RID: 17867
		private uint mOCKIOPKEKE_;

		// Token: 0x040045CC RID: 17868
		public const int KMMNBNNDDAIFieldNumber = 2;

		// Token: 0x040045CD RID: 17869
		private static readonly FieldCodec<uint> _repeated_kMMNBNNDDAI_codec = FieldCodec.ForUInt32(18U);

		// Token: 0x040045CE RID: 17870
		private readonly RepeatedField<uint> kMMNBNNDDAI_ = new RepeatedField<uint>();

		// Token: 0x040045CF RID: 17871
		public const int UnlockAeonStoryListFieldNumber = 3;

		// Token: 0x040045D0 RID: 17872
		private static readonly FieldCodec<uint> _repeated_unlockAeonStoryList_codec = FieldCodec.ForUInt32(26U);

		// Token: 0x040045D1 RID: 17873
		private readonly RepeatedField<uint> unlockAeonStoryList_ = new RepeatedField<uint>();

		// Token: 0x040045D2 RID: 17874
		public const int LevelFieldNumber = 14;

		// Token: 0x040045D3 RID: 17875
		private uint level_;
	}
}
